﻿namespace Dyao.Book.Application
{
    [AttributeUsage(AttributeTargets.Class)]
    public class TaskCenterRuleNameAttribute : Attribute
    {
        public TaskCenterRuleNameAttribute(string ruleKey)
        {
            Rulekey = ruleKey;
        }

        /// <summary>
        /// 规则Key
        /// </summary>
        public string Rulekey { get; }

        /// <summary>
        /// 规则名称
        /// </summary>
        public string DisplayName { get; set; }
    }
}
